package com.csg.ses.dao.ses;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.csg.ses.entity.ses.FileInfoEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.csg.ses.entity.ses.NewsInfoEntity;
import org.apache.ibatis.annotations.Mapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 
 * @author cjj
 * @date 2021-05-06 17:29:22
 */
@Mapper
public interface FileInfoDao extends BaseMapper<FileInfoEntity> {
    IPage<FileInfoEntity> retrieve(IPage<FileInfoEntity> page, @Param(Constants.WRAPPER) Wrapper<FileInfoEntity> qw);
    Integer getNextId();
    List<NewsInfoEntity> getAllGroup();
}